package systemcode

/*系统状态码*/
const (
	SYSTEM_ERR			=			-1					
	SYSTEM_BUSY			=			-2
	Custom				=			-3				//自定义基础

	Change				=			9000			//保留定义

	SUCCESS				=			200				//ture状态统一值
	JUDGECODE			=			201				//验证码
	//系统管理员相关
	SystemUser			=			1000
	SystemUserName		=			SystemUser+1		//用户账号
	SystemUserPwd		=			SystemUser+2		//密码相关
	SystemUserFullname	=			SystemUser+3		//姓名
	SystemUserMobile	=			SystemUser+4		//电话相关
	SystemUserAddress	=			SystemUser+5		//联系地址
	SystemUserLastTime	=			SystemUser+6		//最后登录时间
	SystemUserUpdate	=			SystemUser+7		//更新问题
)

var RetCode map[int]string = map[int]string{
	SYSTEM_ERR:            "系统出错",
	SYSTEM_BUSY:           "系统繁忙，请稍后重试",
	SUCCESS:            	"succcess",
	SystemUser:				"用户名或密码错误！",
	SystemUserName:			"用户名错误",
	SystemUserPwd:			"用户密码错误",
	SystemUserFullname:		"用户姓名错误",
	SystemUserMobile:		"用户电话错误！",
	SystemUserAddress:		"用户地址错误",
	SystemUserLastTime:		"最后登录时间错误",
	SystemUserUpdate:		"系统管理员更新失败",
}